Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Using a GroupAssign link to group pages
The toolbar also keeps track of whether a
GroupAssignlink relates viewers on different pages of a folder. To allow an update of many fields to be divided between two or more pages, you can place a viewer on each page for different groups of fields in the same SDO. You then must create the following links:All the supporting code treats the multiple viewers as part of a single display-and-update mechanism, and the toolbar does the same.
As an example, you can add a copy of the
custcommentsvviewer that appears on Page 1, or any otherCustomerviewer with a subset of the fields, onto a new page after the maintenance page. In the Container Builder, go into Page Maintenance and add a new Page 3 for comments, pushing theOrderandOrderLinerecords to Page 4 and Page 5.Drop another instance of the
custcommentsvviewer on Page 3, and define these links:Now when you save and launch the window, you can start an Add or Update on Page 2 and continue it on Page 3, or vice-versa. When you select Page 3, as shown in Figure 3–3, the Update buttons are enabled and have the same state as for Page 2, even though there is no
TableIOlink to that page at all.Figure 3–3: GroupAssign link example
![]()
This is because the toolbar recognizes the viewer on Page 3 as being part of a grouped update controlled by the viewer on Page 2.
When you are through experimenting with this, you can delete this Page 3 because it is not used in the remaining examples.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |